<!DOCTYPE html>
<html lang="zh-CN">

	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<meta http-equiv="X-UA-Compatible" content="chrome=1,IE=edge" />
		<meta name="viewport" content="width=device-width, initial-scale=1" />
		<link rel="icon" href="favicon.ico" type="image/x-icon" />
		<title>梦工程工作室-gzgchzc-让爱无处不在</title>
		<meta name="author" content="design by www.gzvtc.cc" />
		<meta name="viewport" content="width=1200, user-scalable=no, target-densitydpi=device-dpi" />
		<meta name="keywords" content="" />
		<meta name="description" content="" />

		<link href="statics/css/common.css" rel="stylesheet" type="text/css" />
		<link href="statics/css/index.css" rel="stylesheet" type="text/css" />
		<script type="text/javascript" src="statics/js/jquery-1.9.1.min.js"></script>
		<script type="text/javascript" src="statics/js/jquery.flash.js"></script>
		<link rel="stylesheet" href="statics/bootstrap.min.css">
		<link rel="stylesheet" href="statics/style.css">
		<link rel="stylesheet" href="statics/common.css">
		<!--[if lt IE 7]>
		<script type="text/javascript" src="statics/js/pngfix.js"></script>
		<![endif]-->
		<style>
			#photo img{margin: 10px;}
			#ullist{float: left;margin-left: 20px;color: #999;}
			#ullist li{margin: 5px;}
		</style>
	</head>

	<body>

		<div class="C-head">
			<div class="w1200 clearfix">
				<a class="logo" href=""></a>
				<div class="nav">
					<ul>
						<li>
							<i></i>
							<a href="index.html">

								<span class="s-all">首页<span class="s-en">Home</span></span>
							</a>
						</li>

						<li>
							<i></i>
							<a href='wedding.html'>

								<span class='s-all'>客片欣赏<span class='s-en'>Wedding</span></span>
							</a>
						</li>

						<li>
							<i></i>
							<a href='photoer.html'>

								<span class='s-all'>选摄影师<span class='s-en'>Photographer</span></span>
							</a>
						</li>
						<li>
							<i></i>
							<a href='spots.html'>

								<span class='s-all'>拍摄景点<span class='s-en'>Spots</span></span>
							</a>
						</li>
						<li>
							<i></i>
							<a href='information.html'>

								<span class='s-all'>热门活动<span class='s-en'>Activities</span></span>
							</a>
						</li>

						<li><i></i>
							<a href="brand.html"><span class="s-all">品牌<span class="s-en">Brand</span></span>
							</a>
						</li>
						<li><i></i>
							<a href="member.html"><span class="s-all">会员<span class="s-en">Member</span></span>
							</a>
							<i class="last"></i>
						</li>
					</ul>
				</div>
			</div>
		</div>

		<div class="w1200 clearfix" style="height: 200px;border: 0;margin: 20px auto;">
			<div style="float: left;height: 200px;width: 900px;">
				<h1 id="title"></h1>
			</div>
			<div style="float: left;height: 200px;width: 300px;">
				<img id="path"  width="80" height="80" style="float: left;" />
				<ul id="ullist">
					<li id="photographer">摄影师 ：</li>
					<li id="spots">摄影地址：</li>
					<li id="createTime">上传时间：</li>
				</ul>
			</div>
		</div>
		<div class="w1200 clearfix" id="photo">
			
		</div>
		<div class="w1200 clearfix">
			<p id="content"></p>
		</div>
		<div class="footer-wrap ">
			<div class="copyright">
				<a href="http://www.baidu.com" style="color: #fff; text-decoration: underline;">粤ICP备10000001号</a> &nbsp;<a href="/manage/login.html" style="color: #fff; text-decoration: underline;">后台管理</a></a><br /> @ 2019 icodedock.com &nbsp;
			</div>
		</div>
		<script>
		var baseUrl = location.protocol  +"//"+location.host+"/";
		var LocString = String(window.document.location.href);  
		function getQueryStr(str) { 
		        var rs = new RegExp("(^|)" + str + "=([^&]*)(&|$)", "gi").exec(LocString), tmp; 
		        if (tmp = rs) { 
		         return tmp[2]; 
		        } 
		        return ""; 
		}  
		var id = getQueryStr("id");
		$.get("/getWorks",{id:id},function(data){
			if(data.status==0){
				$("#title").append(data.data.worksTitle);
				$("#photographer").append(data.data.photographer);
				$("#spots").append(data.data.spots);
				$("#createTime").append(data.data.createTime);
				$("#content").html(data.data.content);
				$("#path").attr("src",baseUrl+data.data.path);
				$.each(data.data.imgs, function(i,item) {
					$("#photo").append('<img src="'+baseUrl+item.path+'" />');
				});
			}
		})
		</script>
	</body>

</html>